package com.smartmedical.doctor.interrogation.mapper;

import com.smartmedical.common.core.domain.HealthR;
import com.smartmedical.doctor.interrogation.pojo.entity.InquiryRecordEntity;
import com.smartmedical.doctor.interrogation.pojo.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @Author：闫晓琪
 * @Filename：InterrogationMapper
 * @Package：com.smartmedical.doctor.interrogation.mapper
 * @Project：smart-medical
 * @name：InterrogationMapper
 * @Date：2024/1/10 20:39
 */

@Mapper
public interface InterrogationMapper {



   EchoUserVo findUserInfo(@Param("userId") Integer userId);

   Integer endInquiry(@Param("recordId") Integer recordId);


   List<DoctorHistoryInquiryRecordVo> findHistoryInquiryRecord();


   List<InquiryChatRecordVo> findInquiryDetailsList(@Param("recordId") Integer recordId);

   List<DoctorHistoryInquiryRecordVo> list();

   List<InquiryEvaluateMessage> findDoctorEvaluate(@Param("recordId") Integer recordId);


   Integer pushMessage1(@Param("id") Long id, @Param("content") String content, @Param("type") Integer type, @Param("userId") Integer userId, @Param("isDoc") int isDoc, @Param("noDoc") int noDoc, @Param("date") Date date, @Param("inquiryId") Integer inquiryId);


}
